﻿<%@ Page Title="Phân hệ công nợ" Language="C#" MasterPageFile="~/Page/MainSystem.Master" AutoEventWireup="true" CodeBehind="Receipt.aspx.cs" Inherits="ERP.Page.Receipt" %>
<asp:Content ID="Chead" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="CphMainLeft" ContentPlaceHolderID="CphMainLeft" runat="server">
<ext:Panel ID="PanelQuanLyPhieuThu" runat="server" Title="Quản lý phiếu thu" Border="false" BodyPadding="6" Icon="Folder" AutoScroll="True">
    <Content>
        <ext:LinkButton ID="linkPhuongThucPhieuThu" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Phương thức phiếu thu" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabPhuongThucPhieuThu});#{TabPanel1}.setActiveTab(#{TabPhuongThucPhieuThu});" />
            </Listeners>
        </ext:LinkButton>
        <ext:LinkButton ID="linkPhieuThu" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Phiếu thu" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabPhieuThu});#{TabPanel1}.setActiveTab(#{TabPhieuThu});" />
            </Listeners>
        </ext:LinkButton>
    </Content>
</ext:Panel>
<ext:Panel ID="PanelQuanLyPhieuChi" runat="server" Title="Quản lý phiếu chi" Border="false" BodyPadding="6" Icon="Folder" AutoScroll="True">
    <Content>
        <ext:LinkButton ID="linkPhuongThucPhieuChi" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Phương thức phiếu chi" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabPhuongThucPhieuChi});#{TabPanel1}.setActiveTab(#{TabPhuongThucPhieuChi});" />
            </Listeners>
        </ext:LinkButton>
        <ext:LinkButton ID="linkPhieuChi" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Phiếu chi" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabPhieuChi});#{TabPanel1}.setActiveTab(#{TabPhieuChi});" />
            </Listeners>
        </ext:LinkButton>
    </Content>
</ext:Panel>
<ext:Panel ID="PanelQuanLyCongNo" runat="server" Title="Quản lý công nợ" Border="false" BodyPadding="6" Icon="Folder" AutoScroll="True">
    <Content>
        <ext:LinkButton ID="ShowTabLiabilities_Expenditure" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Chi tiết công nợ phải trả" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabLiabilities_Expenditure});#{TabPanel1}.setActiveTab(#{TabLiabilities_Expenditure});" />
            </Listeners>
        </ext:LinkButton>
        <ext:LinkButton ID="ShowTabLiabilities_Expenditure_Sum" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Tổng hợp công nợ phải trả" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabLiabilities_Expenditure_Sum});#{TabPanel1}.setActiveTab(#{TabLiabilities_Expenditure_Sum});" />
            </Listeners>
        </ext:LinkButton>
        <ext:LinkButton ID="ShowTabLiabilities_Receiver" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Chi tiết công nợ phải thu" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabLiabilities_Receiver});#{TabPanel1}.setActiveTab(#{TabLiabilities_Receiver});" />
            </Listeners>
        </ext:LinkButton>
        <ext:LinkButton ID="ShowTabLiabilities_Receiver_Sum" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Tổng hợp công nợ phải thu" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabLiabilities_Receiver_Sum});#{TabPanel1}.setActiveTab(#{TabLiabilities_Receiver_Sum});" />
            </Listeners>
        </ext:LinkButton>
        <ext:LinkButton ID="ShowTabReportLiabilities_Payment_Deadline" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Chi tiết công nợ quá hạn phải trả" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabReportLiabilities_Payment_Deadline});#{TabPanel1}.setActiveTab(#{TabReportLiabilities_Payment_Deadline});" />
            </Listeners>
        </ext:LinkButton>
        <ext:LinkButton ID="ShowTabReportLiabilities_Payment_Deadline_SUM" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Tổng hợp công nợ quá hạn phải trả" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabReportLiabilities_Payment_Deadline_SUM});#{TabPanel1}.setActiveTab(#{TabReportLiabilities_Payment_Deadline_SUM});" />
            </Listeners>
        </ext:LinkButton>
        <ext:LinkButton ID="ShowTabReportLiabilities_Payment_Deadline_Receiver" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Chi tiết công nợ quá hạn phải thu" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabReportLiabilities_Payment_Deadline_Receiver});#{TabPanel1}.setActiveTab(#{TabReportLiabilities_Payment_Deadline_Receiver});" />
            </Listeners>
        </ext:LinkButton>
        <ext:LinkButton ID="ShowTabReportLiabilities_Payment_Deadline_SUM_Receiver" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Tổng hợp công nợ quá hạn phải thu" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabReportLiabilities_Payment_Deadline_SUM_Receiver});#{TabPanel1}.setActiveTab(#{TabReportLiabilities_Payment_Deadline_SUM_Receiver});" />
            </Listeners>
        </ext:LinkButton>
    </Content>
</ext:Panel>
</asp:Content>
<asp:Content ID="CphMainCenter" ContentPlaceHolderID="CphMainCenter" runat="server">
<ext:TabPanel ID="TabPanel1" runat="server" AutoFocus="true">
    <Bin>
        <ext:Panel ID="TabPhuongThucPhieuThu" Title="Phương thức phiếu thu" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderReceiptReason" runat="server" Path="../Modules/ReceiptReason.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabPhieuThu" Title="Phiếu thu" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderReceipt" runat="server" Path="../Modules/Receipt.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabPhuongThucPhieuChi" Title="Phương thức phiếu chi" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderExpenditureReason" runat="server" Path="../Modules/ExpenditureReason.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabPhieuChi" Title="Phiếu chi" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderExpenditure" runat="server" Path="../Modules/Expenditure.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    
    <%--Công nợ--%>
    <Bin>
        <ext:Panel ID="TabLiabilities_Expenditure" Title="Chi tiết công nợ phải trả" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderLiabilities_Expenditure" runat="server" Path="../Modules/Liabilities_Expenditure.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabLiabilities_Expenditure_Sum" Title="Tổng hợp công nợ phải trả" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderLiabilities_Expenditure_Sum" runat="server" Path="../Modules/Liabilities_Expenditure_Sum.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabLiabilities_Receiver" Title="Chi tiết công nợ phải thu" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderLiabilities_Receiver" runat="server" Path="../Modules/Liabilities_Receiver.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabLiabilities_Receiver_Sum" Title="Tổng hợp công nợ phải thu" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderLiabilities_Receiver_Sum" runat="server" Path="../Modules/Liabilities_Receiver_Sum.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabReportLiabilities_Payment_Deadline" Title="Chi tiết công nợ quá hạn phải trả" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderReportLiabilities_Payment_Deadline" runat="server" Path="../Modules/Report/ReportLiabilities_Payment_Deadline.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabReportLiabilities_Payment_Deadline_SUM" Title="Tổng hợp công nợ quá hạn phải trả" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderReportLiabilities_Payment_Deadline_SUM" runat="server" Path="../Modules/Report/ReportLiabilities_Payment_Deadline_SUM.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabReportLiabilities_Payment_Deadline_Receiver" Title="Chi tiết công nợ quá hạn phải thu" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderReportLiabilities_Payment_Deadline_Receiver" runat="server" Path="../Modules/Report/ReportLiabilities_Payment_Deadline_Receiver.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabReportLiabilities_Payment_Deadline_SUM_Receiver" Title="Tổng hợp công nợ quá hạn phải thu" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderReportLiabilities_Payment_Deadline_SUM_Receiver" runat="server" Path="../Modules/Report/ReportLiabilities_Payment_Deadline_SUM_Receiver.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <%--End--%>

    <%--Từ điển kho--%>
    <Bin>
        <ext:Panel ID="TabChiNhanh" Title="Chi nhánh" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader1" runat="server" Path="../Modules/Branch.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabPhongChua" Title="Phòng chứa" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader2" runat="server" Path="../Modules/Room.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabKho" Title="Kho" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader3" runat="server" Path="../Modules/Warehouse.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabDVTManufacturer" Title="Hãng sản xuất" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderManufacturer" runat="server" Path="../Modules/Manufacturer.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabDVT" Title="Đơn vị tính" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader4" runat="server" Path="../Modules/Unit.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabNhomVatTu" Title="Nhóm vật tư" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader5" runat="server" Path="../Modules/Materials_Type.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabVatTu" Title="Vật tư" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader6" runat="server" Path="../Modules/Materials.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabBarCode" Title="Quản lý mã vạch" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderBarCode" runat="server" Path="../Modules/Barcode.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <%--End--%>

    <%--Danh mục chung--%>
    <Bin>
        <ext:Panel ID="TabLoaiDoanhNghiep" Title="Loại doanh nghiệp" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader7" runat="server" Path="../Modules/Enterprise.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabNganHang" Title="Ngân hàng" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader8" runat="server" Path="../Modules/Bank.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabDanToc" Title="Dân tộc" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader9" runat="server" Path="../Modules/Ethnic.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabTienTe" Title="Tiền tệ" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader10" runat="server" Path="../Modules/Currency.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabQuocGia" Title="Quốc gia" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader11" runat="server" Path="../Modules/National.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabMien" Title="Miền" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader12" runat="server" Path="../Modules/Domain.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabTinh" Title="Tỉnh" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader13" runat="server" Path="../Modules/Province.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabQuanHuyen" Title="Quận huyện" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader14" runat="server" Path="../Modules/Districts.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <%--End--%>
    <Plugins>
        <ext:BoxReorderer runat="server" />
    </Plugins>
    <BottomBar>
        <ext:Toolbar runat="server" Height="30px">
            <Items>
                <ext:Label Cls="lablecontrol" Text="Tên đăng nhập :" runat="server"></ext:Label>
                <ext:Label ID="lbServerNameTitile" Cls="labletitile" Text="IMS" runat="server"></ext:Label>
                <ext:Label Cls="lablecontrol" Text="Tên máy :" runat="server"></ext:Label>
                <ext:Label ID="lbMachineName" Cls="labletitile" Text="TenMay" runat="server"></ext:Label>
                <ext:Label Cls="lablecontrol" Text="IP :" runat="server"></ext:Label>
                <ext:Label ID="lbIdAdress" Cls="labletitile" Text="IdAddress" runat="server"></ext:Label>
                <ext:Label Cls="lablecontrol" Text="Session :" runat="server"></ext:Label>
                <ext:Label ID="lbSessionStatus" Cls="labletitile" Text="IdAddress" runat="server"></ext:Label>
            </Items>
        </ext:Toolbar>
    </BottomBar>
</ext:TabPanel>
</asp:Content>